package com.le.leservice;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@MapperScan({"com.le.lecommon.mapper"})  // 仅扫描 Mapper 包
// 扫描路径
@ComponentScan({
//        "com.le.leservice",
        "com.le.leauth.**",
        "com.le.lecommon.**",
//        "com.le.leauth.service"  // 添加 service 包
})
//@EnableFileStorage  // 自定义或第三方库提供的注解，通常用于启用文件存储功能
public class LeleBlogNewApplication {

    public static void main(String[] args) {
        SpringApplication.run(LeleBlogNewApplication.class, args);
        System.out.println("系统启动成功!");
    }

}
